{% extends 'base.html' %}
{% block content %}
    <div class="article_list">
                {% for article in article_object  %}
                    <div class="article-item">
                        <h5><a href="/{{article.user}}/articles/{{article.nid}}">{{ article.title }}</a></h5>
                        <div class="article-desc clearfix">
                            {{ article.desc }}
                        </div>
                        <div class="small pub_info pull-right">
                            <span>发布于 &nbsp;&nbsp;{{ article.create_time|date:"Y-m-d H:i"}}</span>&nbsp;&nbsp;
                            <span class="glyphicon glyphicon-comment"></span>评论({{article.comment_count}})&nbsp;&nbsp;
                            <span class="glyphicon glyphicon-thumbs-up"></span>点赞({{article.up_count}})&nbsp;&nbsp;
                        </div>
                        <hr>
                {% endfor %}
            </div>
        </div>
{% endblock %}